<?php
/**
 * @package WordPress
 * @subpackage desire
 */
?>
    <div id="footer">
        <?php if(is_active_sidebar('desire-footer-widget-1') or is_active_sidebar('desire-footer-widget-2') or is_active_sidebar('desire-footer-widget-3') or is_active_sidebar('desire-footer-widget-4')): ?>
        <div class="footer-widget-section">
            <ul class="footer-widget-area" id="footer-widget-area-1">
                <?php if(!dynamic_sidebar('desire-footer-widget-1')): ?>
                <?php endif; ?>
            </ul>
            <ul class="footer-widget-area" id="footer-widget-area-2">
                <?php if(!dynamic_sidebar('desire-footer-widget-2')): ?>        
                <?php endif; ?>
            </ul>
            <ul class="footer-widget-area" id="footer-widget-area-3">
                <?php if(!dynamic_sidebar('desire-footer-widget-3')): ?>        
                <?php endif; ?>
            </ul>
            <ul class="footer-widget-area" id="footer-widget-area-4">
                <?php if(!dynamic_sidebar('desire-footer-widget-4')): ?>        
                <?php endif; ?>
            </ul>
        </div>
        <?php endif; ?>
        <div class="copyright">
            <p><?php _e('Copyright','desire'); ?> &copy; <?php bloginfo('name'); ?>. <img style="vertical-align: text-top;" src="<?php echo get_template_directory_uri(); ?>/images/rss_icon.png" /> <a href="<?php bloginfo('rss2_url'); ?>"><?php _e('Entries RSS','desire'); ?></a>. <img style="vertical-align: text-top;" src="<?php echo get_template_directory_uri(); ?>/images/rss_icon.png" /> <a href="<?php bloginfo('comments_rss2_url'); ?>"><?php _e('Comments RSS','desire'); ?></a></p>
        </div>
    </div>
    </div> <!-- end of wrapper -->    
<?php wp_footer(); ?>
</body>
</html>